package com.smartreader.enums;
/**
 * @author XiaoJunYun
 * @version 1.0
 * @date 2021/4/21 14:35
 * @desc: 描述信息
 */
public enum SuccessResultCode {
    /**
     * 操作成功
     */
    SUCCESS(200, "操作成功"),

    /**
     * 认证成功
     */
    AUTHENTICATION_SUCCESS(200, "认证成功"),

    /**
     * Token刷新成功
     */
    REFRESH_ACCESS_TOKEN_SUCCESS(200, "Token刷新成功"),

    /**
     * 退出登录成功
     */
    LOGOUT_SUCCESS(200, "退出登录成功");

    private Integer code;
    private String msg;

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    SuccessResultCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
